<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="#">待审核商户</a></li>
		</ul>
		<form method="post" class="js-ajax-form">
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						<th width="50">ID</th>
						<th>名称</th>
						<th>手机号</th>
						<th>店铺性质</th>
						<th>经营范围</th>
						<th width="120">{:L('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
				<php>
					$types=['1'=>'商户',2=>'技师'];
				</php>
					<foreach name="businesses" item="business">
					<tr>
						<td>{$business.id}</td>
						<td>{$business.company}</td>
						<td>{$business.phone}</td>
						<td><php>echo $types[$business['type']];</php></td>
						<td><php>echo $scopes[$business['scope_id']];</php></td>
						<td>
							<a href="{:U('Business/checkDetails',array('id'=>$business['id']))}">查看详情</a>
						</td>
					</tr>
					</foreach>
				</tbody>
			</table>
		</form>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>